import { ref, h } from '../../lib/guide-coco-mini-vue.esm.js'


const nextChildren = [h('div', {}, "A"), h("div", {}, "B")];
const prevChildren = "newChildren";


export default {
    name: "ArrayToText",
    setup() {
        const isChange = ref(false);
        window.isChange = isChange;

        return {
            isChange
        }
    },
    render() {
        const self = this;

        return self.isChange === true ? h('div', { id: 'div' }, nextChildren) : h("div", { id: "div" }, prevChildren);
    }
}